package com.ts.proj.repository;


import com.ts.base.repository.CommonRepository;
import com.ts.proj.entity.SystemRoleEntity;
import io.lettuce.core.dynamic.annotation.Param;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface SystemRoleRepository extends CommonRepository<SystemRoleEntity> {



    @Query(value = "  select * from sys_role s where s.id  in (?1) ", nativeQuery = true)
    List<SystemRoleEntity> getSystemRoleEntityListByIds(List<Integer> ids);
}
